<template>
    <div>
        <h3>1.基础用法</h3>
        <le-radio v-model="radio" :label="1">测试radio1</le-radio>
        <le-radio v-model="radio" :label="2">测试radio2</le-radio>
        <h3>2.禁用状态</h3>
        <le-radio v-model="radio" :label="1" :disabled="true">测试radio3</le-radio>
        <h3>3.单选框组</h3>
         <le-radio-group v-model="radio4">
            <le-radio :label="3">备选项</le-radio>
            <le-radio :label="6">备选项</le-radio>
            <le-radio :label="9">备选项</le-radio>
        </le-radio-group>
    </div>
</template>

<script>
import leRadio from '@/components/radio/le-radio.vue'
import LeRadioGroup from '@/components/radio/le-radio-group.vue'
    export default {
        components: { leRadio, LeRadioGroup },
        name: 'RadioView',
        data() {
            return {
                radio: '1',
                radio4: 3,
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>